#ifndef KEYUPEVENT_H
#define KEYUPEVENT_H


#include <SDL/SDL.h>
#include "KeyEvent.h"


namespace XOR {

/**
 * Represents a key being released. Contains information about the key that 
 * was released and modifier keys. Something to think about: This really 
 * could just be an inner class of KeyEvent.
 */
class KeyUpEvent : public KeyEvent
{
    public:

        /**
         * Explicit constructor.
         */
        KeyUpEvent(SDL_keysym * keysym);
        KeyUpEvent(int state, int mods);


        /**
         * Returns "KEYUP" so you can tell what type of KeyEvent it is.
         */
        const int getType();

};

}

#endif          // KEYUPEVENT_H

